module.exports = {
  publicPath: './',
  configureWebpack: {
    resolve: {
      alias: {
        api: '@/api',
        assets: '@/assets',
        components: '@/components',
        router: '@/router',
        store: '@/store',
        utils: '@/utils',
        views: '@/views'
      }
    }
  },
  devServer: {
    port: 8080,
    proxy: {
      '/apis': {
        target: 'http://192.168.3.204',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/apis': ''
        }
      }
    }
  }
}
